<template>
	<view class="popup">
		<!-- 选择器 start--> 
		<fui-picker :options="optionsArr" :show="houseShow" @change="houseChange" @cancel="houseCancel"></fui-picker>
	</view>
</template>

<script>
	import {
		baseOssUrl
	} from '@/common/settings';
	export default {
		props: { 
			optionsArr: {
				type: Array,
				default: () => {
					return null;
				}
			},
		},
		data() {
			return {
				baseOssUrl: baseOssUrl,
				houseShow: false,  
			}
		},
		methods: {
			 goHouse() {
			 	this.houseShow = true
			 	console.log("11")
			 },
			houseChange(e) {
				this.houseShow = false 
				 this.$emit('houeseTextS', e.value)
			},
			houseCancel() {
				this.houseShow = false
			}
		}
	}
</script>

<style scoped lang="scss">
	// 弹窗标题×号
	.fangwu {
		font-size: 30rpx;
		font-weight: bold;
		margin: 30rpx 0;
		display: flex;
		align-items: center;
		justify-content: center;
		position: relative;

		image {
			position: absolute;
			right: 45rpx;
			width: 22rpx;
			height: 22rpx;
		}
	}
</style>
